export function forbidWhiteSpace(e) {
    const keyVal = e.keyCode || e.which;
    const result = keyVal === 32 ? false : true;
    if (!result) {
        e.preventDefault();
    }
}
